export const searchItemList: Array<SuperSearch.SearchItem> = [
  {
    type: "dict-select",
    label: "币种",
    keyName: "currencyCode",
    lookupCode: "CURRENCY",
    optConfig: {
      label: "name",
      value: "code"
    },
    options: []
  },
  {
    type: "select",
    label: "状态",
    keyName: "status",
    optConfig: {
      label: "label",
      value: "value"
    },
    options: [
      {
        label: "启用",
        value: 1
      },
      {
        label: "停用",
        value: 0
      }
    ]
  }
];

// 列表
export const tableColumn: Array<SuperTable.TableCoulmnItem | SuperTable.NestTableColumnItem> = [
  {
    type: "checkbox",
    field: "checkbox",
    minWidth: "20"
  },
  {
    field: "currencyName",
    title: "币种",
    minWidth: "140"
  },
  {
    field: "currencyCode",
    title: "货币代码",
    minWidth: "120"
  },
  {
    field: "exchangeRate",
    title: "汇率",
    minWidth: "150"
  },
  {
    field: "status",
    title: "状态",
    minWidth: "90",
    renderSlot: "status"
  },
  {
    field: "action",
    title: "操作",
    minWidth: "180",
    renderSlot: "action"
  }
];
